﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Configuration;
using System.Diagnostics;

namespace TestConfiguration
{
  public partial class FrmTest : Form
  {
    public FrmTest()
    {
      InitializeComponent();
    }

    private void Form1_Load(object sender, EventArgs e)
    {
      LoadConfiguration();
    }

    private void LoadConfiguration()
    {
      ConfigurationSection vsAddinConfigSection = null;
      System.Configuration.Configuration config =
  System.Configuration.ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
      vsAddinConfigSection =
        config.Sections["vSAddinConfigurationSection"];
      Debug.Assert(vsAddinConfigSection != null);

    }
  }
}
